/**
 * 
 */
package com.cloudcast.client.controller;

import com.google.gwt.event.shared.HandlerManager;

/**
 * @author Samuel García Martínez <in0de>
 *
 */
public abstract class AbstractResponsible implements Responsible {

	private Responsible parent;
	private HandlerManager eventBus;
	
	protected AbstractResponsible(Responsible parent, HandlerManager eventBus) {
		this.parent = parent;
		this.eventBus = eventBus;
	}
	
	/* (non-Javadoc)
	 * @see com.cloudcast.client.controller.Responsible#getParent()
	 */
	@Override
	public Responsible getParent() {
		return this.parent;
	}
	
	protected HandlerManager getEventBus() {
		return this.eventBus;
	}

}
